package com.cynteka.cyfoman.ui;

import javax.swing.*;
import javax.swing.table.DefaultTableCellRenderer;

/**
 * User: Sergey
 * Date: 28.07.11
 * Time: 14:46
 */
public class IconCellRenderer extends DefaultTableCellRenderer {

    private String iconFileName;

    public IconCellRenderer(String iconFileName) {
        this.iconFileName = iconFileName;
        setIcon(new ImageIcon(iconFileName));
    }


}
